<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>登录网关</title>
    <style type="text/tailwindcss">
        @layer utilities {
            .content-auto {
                content-visibility: auto;
            }
            .gradient-bg {
                background-image: linear-gradient(135deg, #e0f3ff 0%, #fdf6e3 100%);
            }
            .card-gradient {
                background-image: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
            }
            .button-gradient {
                background-image: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
            }
        }
    </style>
    <style>
        * {
            padding: 0;
            margin: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', sans-serif;
        }

        html, body {
            height: 100%;
            background: linear-gradient(135deg, #e0f3ff 0%, #fdf6e3 100%);
        }

        body {
            display: flex;
            justify-content: center;
            align-items: center;
            background-attachment: fixed;
        }

        .login {
            width: 420px;
            height: auto;
            background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
            border-radius: 15px;
            box-shadow: 0 12px 24px rgba(0,0,0,0.15);
            padding: 30px;
            animation: fadeIn 0.5s ease-in-out;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .login h1 {
            font-size: 26px;
            color: white;
            text-align: center;
            margin-bottom: 25px;
            border-bottom: 2px solid rgba(255,255,255,0.1);
            padding-bottom: 8px;
        }

        .login-form {
            width: 100%;
        }

        .login-form form input {
            width: 100%;
            height: 45px;
            margin: 12px 0;
            padding: 0 18px;
            border: none;
            border-radius: 8px;
            background: rgba(255,255,255,0.9);
            font-size: 15px;
            outline: none;
            transition: box-shadow 0.3s;
        }

        .login-form form input:focus {
            box-shadow: 0 0 12px rgba(52, 152, 219, 0.3);
        }

        .button {
            width: 100%;
            height: 48px;
            background: #2ecc71;
            color: white;
            font-size: 16px;
            border: none;
            border-radius: 10px;
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.3s;
            margin-top: 18px;
        }

        .button:hover {
            background: #27ae60;
            transform: translateY(-1px);
            box-shadow: 0 6px 18px rgba(0,0,0,0.1);
        }

        .footer {
            position: fixed;
            bottom: 0;
            width: 100%;
            height: 50px;
            font-size: 14px;
            color: #666;
            background: rgba(255,255,255,0.9);
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
        }

        .footer a {
            color: #3498db;
            text-decoration: none;
        }

        .footer a:hover {
            text-decoration: underline;
        }
    </style>
</head>
<body>
    <div class="login">
        <h1>基于边缘计算的"智擎"工业设备检测管理系统</h1>
        <div class="login-form">
            <form method="post" action="/login.html">
                <input type="text" name="username" id="usr" value="" placeholder="请输入用户名" />
                <input type="password" name="password" id="pwd" value="" placeholder="请输入密码" />
                <input type="submit" class="button" value="登 录" />
            </form>
        </div>
    </div>
    <div class="footer">
        联系电话: 157-1545-7642 &nbsp; 技术支持QQ: 2786865565
        <span> | </span>
        开发人员：朱明辉 高宇 吴文浩 宋朝阳 王瑞健 徐辛浩 
        <a href="http://www.farsight.com.cn" target="_blank"><b>边缘计算网关B/S版</b></a>
    </div>
</body>
</html>